import { Role } from "~/api/system/role/types";
import { Company } from "~/api/system/company/types";
import { Org } from "~/api/system/org/types";
import { Account } from "~/api/system/account/types";

export interface UserState {

  token?: string;

  username: string;

  user: {
    id?: string
    code?: string
    email?: string
    phone?: string
    companyId?: string
    displayName?: string
    org?: Org
    company?: Company
    role?: Role
    accountList?: Account[]
    orgId?: string
    realName?: string
    userType?: string
  };

}
